module.exports = {
  base: '/cl-docs/',
  head: [
    [
      'link',
      {
        rel: 'icon',
        href: `/logo.png`
      }
    ],
  ],
  themeConfig: {
    editLinkText: '编辑此页',
    lastUpdated: '上次更新',
    logo: '/left-logo.png',
    nav: [
      {
        text: '介绍',
        link: '/',
      },
      {
        text: '入门',
        link: '/start/java/base.html',
      },
      {
        text: '后端',
        link: '/server/java/base.html',
      },
      {
        text: '前端',
        link: '/client/admin/base.html',
      },
      {
        text: '插件',
        link: '/plugins/java/base.html',
      },
      {
        text: '版本日志',
        link: '/update/java.html',
      },
      { text: 'Gitee', link: 'https://gitee.com/fz818/' }
    ],
    sidebar: {
      '/start/': [
        {
          title: '后端部署',
          collapsable: true,
          children: [
            'java/base'
          ]
        },
        {
          title: '前端部署',
          collapsable: true,
          children: [
            'admin/base',
            'mobile/base',
            'pc/base',
            'ios/base',
            'android/base',
            'wechart/base'
          ]
        }
      ], 
      '/server/':[
        {
          title: 'cl-sample项目',
          collapsable: true,
          children: [
            'java/base',
            'java/directory',
            'java/specification',
            'java/coreModule',
            'java/production'
          ]
        }
      ],
      '/client/':[
        {
          title: 'cl-admin项目',
          collapsable: true,
          children: [
            'admin/base',
            'admin/directory',
            'admin/specification',
            'admin/coreModule',
            'admin/production'
          ]
        },
        {
          title: 'cl-h5Show项目',
          collapsable: true,
          children: [
            'mobile/base',
            'mobile/directory',
            'mobile/specification',
            'mobile/coreModule',
            'mobile/production'
          ]
        },
        {
          title: 'cl-portal项目',
          collapsable: true,
          children: [
            'pc/base',
            'pc/directory',
            'pc/specification',
            'pc/coreModule',
            'pc/production'
          ]
        },
        
        {
          title: ' cl-IOS项目',
          collapsable: true,
          children: [
            'ios/base',
            'ios/directory',
            'ios/specification',
            'ios/coreModule',
            'ios/production'
          ]
        },
        {
          title: 'cl-android项目',
          collapsable: true,
          children: [
            'android/base',
            'android/directory',
            'android/specification',
            'android/coreModule',
            'android/production'
          ]
        },
        {
          title: 'cl-wechatSmall项目',
          collapsable: true,
          children: [
            'wechart/base',
            'wechart/directory',
            'wechart/specification',
            'wechart/coreModule',
            'wechart/production'
          ]
        }
      
      ],
      '/plugins/': [
        {
          title: '插件Java版',
          collapsable: true,
          children: [
            'java/base'
          ]
        },
        
        // {
        //   title: '组件Admin版',
        //   collapsable: true,
        //   children: [
        //     'admin/base'
        //   ]
        // },
        // {
        //   title: '组件Mobile版',
        //   collapsable: true,
        //   children: [
        //     'mobile/base'
        //   ]
        // },
        // {
        //   title: '组件PC版',
        //   collapsable: true,
        //   children: [
        //     'pc/base'
        //   ]
        // },
       
        // {
        //   title: '组件Wechart版',
        //   collapsable: true,
        //   children: [
        //     'wechart/base'
        //   ]
        // },
        // {
        //   title: '组件IOS版',
        //   collapsable: true,
        //   children: [
        //     'ios/base'
        //   ]
        // }
      ],
      '/update/': [
        {
          title: '版本日志',
          collapsable: false,
          children: [
            'java',
            'admin',
            'mobile',
            'pc',
            'ios',
            'android',
            'wechart',
          ]
        }
      ],
    }
  }
}